/**
 * 
 */
package com.wolfware.athsweb.persistancy.dao;

import java.util.List;

import com.wolfware.athsweb.domain.Country;

/**
 * Used to persist a Country object.
 * @author cstrzadala
 */
public interface CountryDAO  {

	/**
	 * 
	 * @param country
	 */
	void saveCountryEntry(final Country country);
	
	/**
	 * 
	 * @param countryList
	 */
	void saveCountryEntries(final List<Country> countryList);
	
	/**
	 * 
	 * @return
	 */
	List<Country> getAllCountries();
	
	/**
	 * 
	 * @param id
	 * @return
	 */
	Country getCountryById(Long id);
	
	/**
	 * 
	 * @param country
	 */
	void updateCountryEntry(Country country);
	
	/**
	 * 
	 * @param country
	 */
	void deleteCountryEntry(Country country);
}
